package foo;

import java.nio.ByteBuffer;

public class EnumsXmlParser {

	interface Context {
		ByteBuffer buffer();

		State state();

		void state(State state);
	}

	interface State {
		boolean process(Context context);
	}

	enum States implements State {
		XML {
			@Override
			public boolean process(final Context context) {
				return false;
			}
		},
		ROOT {
			@Override
			public boolean process(final Context context) {

				return false;
			}
		};

		public boolean process(final Context context) {
			// TODO Auto-generated method stub
			return false;
		}

	}

}
